package com.alks.function.mapper.stockdept.pcfactorystockquery;

import com.alks.entity.data.entity.PcLotUsageFit;
import com.alks.entity.data.entity.PcSubOutLog;
import com.alks.function.data.dto.stockdept.pcfactorystockwork.FdRqsDto;
import com.alks.function.data.request.stockdept.pcfactorystockwork.FdRqsRequest;
import com.alks.function.data.request.stockdept.pcfactorystockwork.MyOrdUpRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2023-11-15
 */
public interface SD_SQ_PcLotUsageFitMapper extends BaseMapper<PcLotUsageFit> {

    /*获取贴合请购数据*/
    List<FdRqsDto> getFdRqsQueryr(@Param("request") FdRqsRequest request, @Param("companyId") String companyId);

    /**
     * 贴合子材料明细获取
     */
    List<PcSubOutLog> getFitMtl(@Param("subList") List<MyOrdUpRequest> subList, @Param("companyId") String companyId);
}
